import request from '@/utils/request'

// 查询会员功能配置列表
export function listAppmemberfunctionconfiguration(query) {
  return request({
    url: '/system/appmemberfunctionconfiguration/list',
    method: 'get',
    params: query
  })
}

// 查询会员功能配置详细
export function getAppmemberfunctionconfiguration(id) {
  return request({
    url: '/system/appmemberfunctionconfiguration/' + id,
    method: 'get'
  })
}

// 新增会员功能配置
export function addAppmemberfunctionconfiguration(data) {
  return request({
    url: '/system/appmemberfunctionconfiguration',
    method: 'post',
    data: data
  })
}

// 修改会员功能配置
export function updateAppmemberfunctionconfiguration(data) {
  return request({
    url: '/system/appmemberfunctionconfiguration',
    method: 'put',
    data: data
  })
}

// 删除会员功能配置
export function delAppmemberfunctionconfiguration(id) {
  return request({
    url: '/system/appmemberfunctionconfiguration/' + id,
    method: 'delete'
  })
}
